using System;
using System.Windows.Forms;

namespace Mistral.SecureDrive.GUI
{
	public partial class SettingsForm : Form
	{
		private SecureDriveApp.Settings _settings;
		public SettingsForm()
		{
			InitializeComponent();
			_settings = new SecureDriveApp.Settings();
			_propertyGrid.SelectedObject = _settings;
		}

		private void SettingsForm_Load( object sender, EventArgs e )
		{
//			_settings = new SecureDriveApp.Settings();
//			_propertyGrid.SelectedObject = _settings;
		}

		private void _button_OK_Click( object sender, EventArgs e )
		{
			_settings.Apply( );
		}
	}
}